package com.jumi.microservice.service;

import com.jumi.microservice.common.base.dto.ResponseResult;
import com.jumi.microservice.common.page.TableDataInfo;
import com.jumi.microservice.dto.jd.category.JdCategoryRequest;
import com.jumi.microservice.dto.jd.category.JdCategoryResponse;
import com.jumi.microservice.dto.jd.details.JdBigFieldGoodsResponse;
import com.jumi.microservice.dto.jd.details.JdGoodsDetailsRequest;
import com.jumi.microservice.dto.jd.keywordquery.JdKeywordQueryRequest;
import com.jumi.microservice.dto.jd.promote.JdPromoteRequest;
import com.jumi.microservice.dto.jd.promote.JdPromoteResponse;
import com.jumi.microservice.dto.jd.query.JFGoodsReqRequest;
import com.jumi.microservice.dto.jd.query.JdQueryListResponse;

import java.util.List;

public interface JdService {
    TableDataInfo<JdQueryListResponse> query(JFGoodsReqRequest JFGoodsReqRequest) throws Exception;

    ResponseResult<JdBigFieldGoodsResponse> details(JdGoodsDetailsRequest request) throws Exception;

    TableDataInfo<JdQueryListResponse> keyWord(JdKeywordQueryRequest request) throws Exception;

    ResponseResult<List<JdCategoryResponse>> category(JdCategoryRequest request) throws Exception;

    ResponseResult<JdPromoteResponse> promote(JdPromoteRequest request) throws Exception;
}
